.statistic-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
  cursor: pointer;
  width: 220px;
  height: 40px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.statistic-box.selected {
  background-color: #f3a969; /* 深色背景 */
  color: #fff; /* 白色文字 */
}

.statistic-box:hover {
  background-color: #e4dada;
}
.ant-statistic-content-value {
  display: flex !important;
  padding-left: 0px !important;
}
.statistic-box span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}

.statistic-box.red {
  background-color: red;
}
.statistic-box.red span{
  color: white;
}
.statistic-box.green span{
  color: white;
}
.statistic-box.green {
  background-color: green;
}

.chart-container {
  border: 1px solid #d9d9d9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.zt-count {
  color: red;
  border: 1px solid red;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  width: 50px;
}

.list-item {
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.list-item.selected {
  background-color: #f3a969; /* 深色背景 */
  color: #fff; /* 白色文字 */
}

.list-item:hover {
  border-color: #d9d9d9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.list-item:hover .zt-count {
  color: #ff4d4f;
  border-color: #ff4d4f;
}

.sub-list-item {
  background-color: #f5f5f5;
  padding-left: 10px;
  font-size: 12px;
  padding: 0 !important;
}
.sub-list-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-list-item-text {
  flex: 0 0 auto;
  font-size: 14px;
}

.sub-list-item-result {
  font-size: 12px;
  width: 60px;
}
.sub-list-item-text:last-child {
  flex: 1; /* 最后一个元素可以伸缩，占据剩余空间 */
  white-space: normal; /* 允许换行 */
}

.scroll-container {
  height: 500px;
  overflow-y: auto;
}

.scroll-item {
  padding: 10px;
  border-bottom: 1px solid #d9d9d9;
}

.custom-table-cell .ant-table-tbody > tr > td {
  padding: 8px; /* 调整行间距 */
}
.custom-table-cell .ant-table-thead > tr > th,
.custom-table-cell .ant-table-tbody > tr > td {
  border-color: #d9d9d9; /* 更改表格线的颜色 */
}


